package com.huawei.security.repo;

import com.huawei.security.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by minshiwu on 2017/2/26.
 */
public interface UserRepo extends JpaRepository<User, Long> {

    User findByName(String name);

}
